package com.gy.service;

import com.gy.dao.UserDao;

/**
 * @Classname UserServiceGeneralImpl
 * @Description TODO
 * @Date 2021/5/23 18:04
 * @Created by Administrator
 */
public class UserServiceGeneralImpl implements UserService {
    private UserDao userDao;

    //利用set进行动态实现值的注入
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUser() {
        userDao.getUser();
    }
}
